package com.rongke.model;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.rongke.utils.DateJsonDeserializer;
import com.rongke.utils.DateJsonSerializer;
import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * @GoodsQuerstion
 * @体验众测问卷选择(goods_querstion)
 * @version : Ver 1.0
 */
@TableName("goods_querstion")
public class GoodsQuerstion implements Serializable {
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**
	 * @备注:主键 商品问卷选择id
	 * @字段:id BIGINT(19)
	 */
	@TableId(type = IdType.AUTO)
	private java.lang.Long id;


	/**
	 * @备注:商品id
	 * @字段:goods_id BIGINT(19)
	 */
	private java.lang.Long goodsId;


	/**
	 * @备注:问卷id
	 * @字段:questionnaire_id BIGINT(19)
	 */
	private java.lang.Long questionnaireId;


	/**
	 * @备注:添加时间
	 * @字段:addtime DATETIME(19)
	 */
	private java.util.Date addtime;


	public GoodsQuerstion(){
	}

	public GoodsQuerstion(
		java.lang.Long id
	){
		this.id = id;
	}



	public void setId(java.lang.Long id) {
		this.id = id;
	}

	public java.lang.Long getId() {
		return this.id;
	}


	public void setGoodsId(java.lang.Long goodsId) {
		this.goodsId = goodsId;
	}

	public java.lang.Long getGoodsId() {
		return this.goodsId;
	}


	public void setQuestionnaireId(java.lang.Long questionnaireId) {
		this.questionnaireId = questionnaireId;
	}

	public java.lang.Long getQuestionnaireId() {
		return this.questionnaireId;
	}


	public void setAddtime(java.util.Date addtime) {
		this.addtime = addtime;
	}

	public java.util.Date getAddtime() {
		return this.addtime;
	}
}
